import {createBrowserRouter} from 'react-router-dom'
import Home from '../pages/home/Index'
import Detail from '../pages/detail/Index'

let routes=createBrowserRouter([
    {
        path:'/',
        element:<Home></Home>
    },
    {
        path:'/detail',
        element:<Detail></Detail>
    }
])

export default routes